package top.zsyle.pet.mapper;

import top.zsyle.pet.domain.Pet;
import top.zsyle.basic.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zsy
 * @since 2022-12-05
 */
public interface PetMapper extends BaseMapper<Pet> {

    List<Pet> findByIdsAndState(List<Long> ids);

    void batchUpdate(List<Long> petIds);

    List<Pet> findByIdsAndStateOff(List<Long> ids);

    void batchUpdateOff(List<Long> petIds);
}
